package com.sc.nft.entity.dto;

import com.sc.nft.dto.IdRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * @author 刘国航
 * @desc
 * @since 2024/10/29 11:05
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class TradingPoolConfAdjustStockDTO extends IdRequest {

    @ApiModelProperty("品牌id")
    @NotNull(message = "品牌id不能为空")
    private Long daoId;

    @ApiModelProperty("是否增加")
    @NotNull(message = "是否增加不能为空")
    private Boolean isAdd;

    @ApiModelProperty("库存")
    @NotNull(message = "库存不能为空")
    private Integer stock;

}
